home *** CD-ROM | disk | FTP | other *** search
/ Cream of the Crop 25 / Cream of the Crop 25.iso / bbs / utilz20x.zip / GODIR / GODIR.DOC < prev    next >
Text File  |  1997-01-21  |  2KB  |  45 lines

  1.  
  2. SYNOPSIS
  3.     godir - change to a directory based on alias
  4.  
  5. PURPOSE
  6.     This little utility saves a lot of typing. Instead of typing long
  7.     paths when changing directories, you use a short alias and let
  8.     GoDir do the rest. Note that unlike the standard 'chdir' command,
  9.     GoDir works across drives perfectly fine. The format of the alias
  10.     file is simple (please, refer to the enclosed sample).
  11.  
  12.     #
  13.     # ---------------------------------------------------------------------
  14.     # Keyword     Absolute directory      Comment
  15.     # ---------------------------------------------------------------------
  16.       DOCS        C:\SCI\DIST\DOCS        # Docs ready for distribution
  17.       BIN         E:\SCI\DIST\BIN         # Binaries ready for distribution
  18.     # ---------------------------------------------------------------------
  19.     #
  20.  
  21.     As you can see, the first column is the alias that we will use (no
  22.     spaces allowed). The second column is the destination path, and the
  23.     rest of the columns are used for commenting (they are ignored). Note
  24.     also that lines beginning with '#' are ignored as well. The spacing
  25.     is liberal (i.e. you don't have to worry about alignment). GoDir is
  26.     NOT case-sensitive.
  27.  
  28.     The default data file should have the same name as the executable, but
  29.     with a .DAT extension (default GODIR.DAT) and must reside in the same
  30.     directory as the executable.
  31.  
  32. EXAMPLE
  33.     godir docs
  34.         Changes to 'C:\SCI\DIST\DOCS' regardless of where we are (if we
  35.         are using the sample config above). The control file is GODIR.DAT
  36.  
  37.     godir BIN altdat.cfg
  38.         Changes to 'E:\SCI\DIST\BIN' and uses 'ALTDAT.CFG' in the current
  39.         directory as the data file (this, of course, assumes that we do
  40.         have an entry for 'bin' as the example above).
  41.  
  42. AUTHOR
  43.     Branislav L. Slantchev
  44.     Silicon Creations, Inc.
  45.